<template>
	<view style="width: 100%;text-align: center;" class="ptb-3" @click="jishuzhichiClick"> 
		<view style="color:#10AEFF;">山西格子软件有限公司</view>
		<view style="color: #bebebe;" class="mt-1 text-s3">提供技术支持 {{version}}</view>
	</view>
</template>

<script>
	export default {
		name:"gz-jishuzhichi",
		data() {
			return {
				version:"1.0.0"
			};
		},
		mounted() {
			let version = uni.getAccountInfoSync().miniProgram.version
			console.info("version",version)
			if(version){
				version = "v" + version
			} else {
				version = uni.getAccountInfoSync().miniProgram.envVersion
			}
			console.info("version",version)
			this.version = version
		},
		methods:{
			jishuzhichiClick(){
				// #ifdef MP-WEIXIN
				uni.navigateToMiniProgram({
					appId: 'wx2a04f53f94d20bbc',
				})
				// #endif
			}
		}
	}
</script>

<style scoped lang="scss">

</style>